<template>
  <div class="loginWrap">
    <div class="loginForm">
      <img width="100px" src="../../assets/monky.png" alt="">
      <h1>monky_hou</h1>
      <div class="options">
        <div class="optionsBtn" @click="login">notes</div>
        <div class="optionsBtn"><a href="https://visualization-opal.vercel.app/">visiulzation</a></div>
        <div class="optionsBtn"><a href="https://visualization-opal.vercel.app/">cesium</a></div>
      </div>
    </div>
  </div>
</template>

<script setup lang="ts">
import { useRouter } from 'vue-router';
const router = useRouter()
const login = () => {
  router.push('/notes')
}

</script>

<style lang="scss">
.loginWrap {
  display: flex;
  align-items: center;
  justify-content: center;
  background: url(../../assets/bg.jpg) no-repeat 0 0;
  height: 100vh;
  background-size: 100% 100%;
  
}

.loginForm {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 30%;
  height: 150px;
  padding: 10px;
  >* {
    margin: 5px;
  }
}

.options {
  display: flex;
  .optionsBtn {
    margin: 10px;
    width: 90px;
    height: 30px;
    cursor: pointer;
    text-align: center;
    line-height: 30px;
    border-radius: 5px;
    border: 1px solid black;
    &:hover{
      background-color: rgba(231, 232, 233, 0.556);
    }
  }
}
</style>